package com.example.webapp.service;

import com.example.webapp.bean.Exam;

import java.util.List;

public interface ExamService {
    void createExam(Exam exam);
    void updateExam(Exam exam);
    void deleteExam(Integer id);
    List<Exam> getAllExams();
    Exam getExamById(Integer id);
    Exam getExamByName(String name);
}
